package com.pomelo.kill.service;


import com.pomelo.kill.exception.KillException;
import com.pomelo.kill.model.Goods;
import com.pomelo.kill.model.Order;

import java.util.List;

public interface RedisService {


    List<Goods> GetAllKillData();

    Order order(Integer uid, Integer gid, Integer state) throws KillException;

    List<Order> obligation(Integer uid);

    Order obligationByGid(Integer uid, Integer gid);

    Order pay(String id) throws KillException;

    int cancel(String id);
}
